<template>
  <div class="home">Home</div>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "Home",
  mounted() {
    console.log(`Home mounted`);
  },
  beforeUnmount() {
    console.log(`Home beforeUnmount`);
  },
});
</script>

<style scoped>
.home {
  background-color: yellowgreen;
}
</style>
